#-------------------------------------------------
#
# Project created by QtCreator 2011-01-24T21:41:09
#
#-------------------------------------------------

QT       -= gui

TEMPLATE = lib

VERSION = 0.1

DEFINES += QMOBEX_LIBRARY

CONFIG += debug_and_release

#Create double build system
 CONFIG(debug, debug|release) {
    #output debug binnary
     TARGET = qmobexdebug
 }
 else {
    #Release
    #Turn off debug output
    DEFINES += QT_NO_DEBUG_OUTPUT

    #library name
    TARGET = qmobex

#Library Directory
    target.path = /usr/lib
    INSTALLS += target

#Documentation Directory
    docDir.path = /usr/share/doc/$$TARGET
    docDir.files = += \
    COPYING.txt \
    LICENSE.txt
    INSTALLS += docDir

 }


SOURCES += qmobex.cpp \
    qextserialport/qextserialbase.cpp \
    qextserialport/posix_qextserialport.cpp

HEADERS += qmobex.h\
        qmobex_global.h \
    qextserialport/qextserialbase.h \
    qextserialport/posix_qextserialport.h

OTHER_FILES += \
    COPYING.txt \
    LICENSE.txt
